package com.zx.util;

/**
 * @version v1.0
 * @Project: managing-self
 * @Title: Constants
 * @Description: 项目中使用的静态常量
 * @author: zhangxue
 * @date: 2019年10月4日下午9:45:50
 * @company: 未知
 * @Copyright: Copyright (c) 2015
 */
public class Constants {

    public static final String DATE_FORMAT_1 = "yyyy-MM-dd HH:mm:ss";
    public static final String DATE_FORMAT_2 = "yyyy-MM-dd hh:mm:ss";
    public static final String DATE_FORMAT_3 = "yyyyMMdd";
    public static final String DATE_FORMAT_4 = "yyyy-MM-dd";
    public static final String DATE_FORMAT_5 = "yyyy-MM";

    public static final String LOGIN_VERIFICATION_FALSE_MSG = "请输入正确的验证码";
    public static final String LOGIN_FAILED_MSG = "输入的账号或密码有误";

    public static final String HTTP_SESSION_USER_INFO_KEY = "userInfo";
    public static final String HTTP_SESSION_VERIFICATION_KEY = "verification";

    public static final int RESPONSE_OK_CODE = 200;
    public static final int RESPONSE_NO_CODE = 400;
    public static final String RESPONSE_OK_MSG = "success";
    public static final String RESPONSE_NO_MSG = "failed";

    /**
     * {#link MyStudy#studyStatus }
     */
    public static final int MY_STUDY_FINISH = 1;
    public static final int MY_STUDY_RUN = 0;

}
